@import "../../../assets/styles/img.less";

.message-list {
  height: 100%;
  padding-top: 20rpx;
  position: relative;
  .message-scroll{
    height: 100%;
  }
  .message-item {
    margin: 0 auto;
    padding: 35rpx 30rpx;
    margin-bottom: 20rpx;
    width: 670rpx;
    background: #ffffff;
    border-radius: 20rpx;
    box-shadow: 0px 5rpx 30rpx 0px rgba(0, 0, 0, 0.05);
    .top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 15rpx;
      .left {
        display: flex;
        align-items: center;
        .iconfont {
          margin-right: 20rpx;
          font-size: 52rpx;
          color: rgba(72, 98, 244, 1);
        }
        .icon{
          margin-right: 20rpx;
          width: 52rpx;
          height: 52rpx;
          background-image: @message_center_ico;
          background-size: 100% 100%;
          background-repeat: no-repeat;
        }
        .text {
          width: 360rpx;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
          font-size: 30rpx;
          color: #333333;
          line-height: 42rpx;
        }
      }
      .right {
        .time {
          font-size: 26rpx;
          color: #858b9c;
          line-height: 40rpx;
        }
      }
    }
    .bottom {
      padding-top: 40rpx;
      border-top: 1rpx solid rgba(230, 238, 249, 1);
      .title {
        width:606rpx;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 34rpx;
        font-weight: 500;
        color: #41485d;
        line-height: 42rpx;
      }
    }
  }
  .home-no-data {
    text-align: center;
    font-size: 24rpx;
    color: #858b9c;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    image {
      width: 180rpx;
      height: 168rpx;
    }
  }
}
